-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework Design Time Build to use .aar files directly. #9423
base: main
Are you sure you want to change the base?
Conversation
d08fdf2
to
8f05381
Compare
373a6a5
to
f96ca96
Compare
8b86bf8
to
ddc632f
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
src/Xamarin.Android.Build.Tasks/Utilities/FileResourceParser.cs
Outdated
Show resolved
Hide resolved
src/Xamarin.Android.Build.Tasks/Tasks/GenerateResourceCaseMap.cs
Outdated
Show resolved
Hide resolved
<MSBuild | ||
Projects="@(ProjectReference)" | ||
Targets="Restore;_GetProjectResourceDirectory" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two questions here:
- Does this really need to run
Restore
? - What happens if the
@(ProjectReference)
is a plainnet9.0
project or something old likenetstandard2.0
or PCL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SkipNonexistentTargets="true"
will make sure that we skip (and not error) any project which does not have the targets we are calling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed the Restore. But I have a feeling it will mean a unit test will fail. We shall see.
<_AdditionalProperties> | ||
_ComputeFilesToPublishForRuntimeIdentifiers=true | ||
;SelfContained=true | ||
;DesignTimeBuild=$(DesignTimeBuild) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the inner-build per RID run during a design-time build? Does it even need to?
It's doing stuff related to the trimmer & AOT, it seems like should figure out how to skip it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can test this and see.
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Context dotnet/maui#25207
Also
designtime
folder.